package com.woniu.service;

import com.woniu.entity.Users;

import java.util.List;

public interface UserService {
    Users serviceUserLogin(String userName,String password);

    void updateUsersMoney(Integer uid,Double price);
    public void insertUser(Users users);
    public Users selectUserByName(String username);
    public List<Users> selectAllUsersByPowerId(Integer power_id);
    public void deleteUserById(Integer uid);
    public Users selectUserByUid(int userId);
    public void updateUserName(String username,Integer uid);
    public void updateUserPwd(String pwd,Integer uid);
    public void updateUserTelphone(String telphone,Integer uid);
}
